package com.example.grpcclient.module;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author 赵云龙
 * @Date 2020/6/20
 * @Description TODO
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "grpc.client.grpc-server")
public class GrpcClientModule {

 String host;
 String port;
 boolean enableKeepAlive;
 boolean keepAliveWithoutCalls;


}
